package org.car.world.service.impl;

import java.util.List;

import org.car.world.core.entily.MerchantsServeTable;
import org.car.world.core.mapper.MerchantsServeMapper;
import org.car.world.service.MerchantsServeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MerchantsServeServiceImpl implements MerchantsServeService {

    @Autowired
    MerchantsServeMapper merchantsserveservice;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return merchantsserveservice.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(MerchantsServeTable record) {
        return merchantsserveservice.insert(record);
    }

    @Override
    public MerchantsServeTable selectByPrimaryKey(Integer id) {
        return merchantsserveservice.selectByPrimaryKey(id);
    }

    @Override
    public List<MerchantsServeTable> selectAll() {
        return merchantsserveservice.selectAll();
    }

    @Override
    public int updateByPrimaryKey(MerchantsServeTable record) {
        return merchantsserveservice.updateByPrimaryKey(record);
    }

    @Override
    public List<MerchantsServeTable> selectByPrimaryKey1(Integer merid, Integer id) {
        return merchantsserveservice.selectByPrimaryKey1(merid, id);
    }

}
